# Makefile prevzaty z: 
# http://www.cyberciti.biz/tips/build-linux-kernel-module-against-installed-kernel-source-tree.html
# Prelozi soubor hello.c do modulu jadra
#

obj-m := printAllTasks.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

all:
	make -C $(KDIR) M=$(PWD) modules

clean:
	make -C $(KDIR) M=$(PWD) clean
